<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>

	<link rel="stylesheet" href="bootstrap/bootstrap.min.css">
<style type="text/css">
.div_ads {
	width: 75%;
	margin: 50px auto 0 10%;
}

table {
	margin: 0 auto;
	width:100%;
	border-collapse:separate; 
	border-spacing:0px 10px;
}
table tr td {
	text-align: center;
	width:30%;
	height:44px;
	color:rgba(0,0,0,.6)
}
._td{
	width:30%
}
font{
	color:red;
	font-weight: bold;
}
</style>

<script type="text/javascript">
 /*校验日期:保证日期格式正确*/
</script>

</head>

<body>
	<form action="ServletaddCourse" method="post">
	
		<div class="div_ads">
			<table>
				<tr>
					<td>科&nbsp;&nbsp;&nbsp;目：</td>
					<td class="_td"><input type="text" name="courseName" class="form-control"/></td>
				</tr>
				<tr>
					<td>学&nbsp;&nbsp;&nbsp;分：</td>
					<td class="_td"><input type="text" name="courseCredit" class="form-control" /></td>
				</tr>
				<tr>
					<td>学&nbsp;&nbsp;&nbsp;时：</td>
					<td class="_td"><input type="text" name="courseHours" class="form-control" /></td>
				</tr>
				
				<tr>
					<td>任课教师：</td>
					<td class="_td"><input type="text" name="courseTea" class="form-control" /></td>
				</tr>
				<tr>
					<td>开课时间：</td>
					<td class="_td"><input type="text" name="courseDate" class="form-control" id="tim" onblur="check();" /></td>
				</tr>
				<tr>
					<td><input type="submit" value="添加" class="btn btn-primary" /></td>
					<td><input type="reset" value="清空" class="btn btn-danger" /></td>
				</tr>
			</table>
		</div>
	</form>

</body>
</html>
